<?php

	class BaseAction extends Action{
		
		function _initialize() {		
			$this->common_head();
			if(MODULE_NAME=="User"&&!$_SESSION['userid']){
				$this->redirect("/Public/login",array('module'=>MODULE_NAME,'action'=>ACTION_NAME));
				}				
			$this->assign("module_name",MODULE_NAME);
			$this->assign("action_name",ACTION_NAME);
			}
		
		public function common_head(){
			
			}
		
			
		}
?>